<template>
  <div id="app">
    <TopBar/>
    <!-- 下面的请忽视 -->
    <div class="placeholder"></div>
  </div>
</template>

<script>
// 引用组件
import TopBar from './components/Topbar.vue'

export default {
  name: 'App',
  components: {TopBar}
}
</script>

<style>
  body {
    background-image: url(./assets/background.png);
    background-repeat: no-repeat;
    background-size: cover;
    /* 背景图片随着视口固定 */
    background-attachment: fixed;
  }

  .placeholder {
    height: 3000px;
  }
</style>
